if (self.CavalryLogger) { CavalryLogger.start_js(["h5fCD"]); } __d("ActorURIConfig",[],(function(a,b,c,d,e,f){e.exports={PARAMETER_ACTOR:"av",ENCRYPTED_PARAMETER_ACTOR:"eav"}}),null); __d("CookieConsentBlacklistedHrefs",[],(function(a,b,c,d,e,f){e.exports={hrefs:["/about/basics","/privacy/explanation","/ads/settings","/help/111814505650678","/help/1561485474074139","/help/568137493302217","/help/769828729705201","/help/cookies","/policies/cookies","/policy/cookies"]}}),null); __d("IndicatorType",[],(function(a,b,c,d,e,f){a={ANDROID:1,ANDROID_NONROTATING:2,IOS:3};e.exports=a}),null); __d("getVendorPrefixedName",["invariant","ExecutionEnvironment","UserAgent","camelize"],(function(a,b,c,d,e,f,g){__p&&__p();var h={},i=["Webkit","ms","Moz","O"],j=new RegExp("^("+i.join("|")+")"),k=b("ExecutionEnvironment").canUseDOM?document.createElement("div").style:{};function l(a){for(var b=0;b= 315.14.2")?"WebkitLineClamp":null;default:return null}}function a(a){var c=b("camelize")(a);if(h[c]===void 0){var d=c.charAt(0).toUpperCase()+c.slice(1);j.test(d)&&g(0,957,a);b("ExecutionEnvironment").canUseDOM?h[c]=c in k?c:l(d):h[c]=m(c)}return h[c]}e.exports=a}),null); __d("createDeprecatedProperties",[],(function(a,b,c,d,e,f){__p&&__p();function g(a){return function(b){this[a]=b;return this}}function h(a){return function(b){return this[a]}}function a(a,b){a=a.prototype;for(var c in b){var d=c.charAt(0).toUpperCase()+c.substr(1),e="__auto__"+c;a[e]=b[c];a["set"+d]=g(e);a["get"+d]=h(e)}}e.exports=a}),null); __d("MViewportConstraint",["Stratcom","createDeprecatedProperties"],(function(a,b,c,d,e,f){__p&&__p();var g=document.createElement("div");g.style.paddingBottom="max(0px, env(safe-area-inset-bottom))";function h(){document.body.appendChild(g);var a=parseInt(window.getComputedStyle(g).paddingBottom,10);document.body.removeChild(g);return a}a=function(){"use strict";__p&&__p();function a(b,c){a.constraints.push(this),this.setExact(c),this.setValue(b)}var c=a.prototype;c.release=function(){var c=a.constraints.indexOf(this);a.constraints.splice(c,1);b("Stratcom").invoke("mviewport:update")};c.getValue=function(){return this._value};c.setValue=function(a){this.getValue()!==a&&(this._value=a,b("Stratcom").invoke("mviewport:update"))};a.getCalculatedStyles=function(b){__p&&__p();var c=0,d=a.constraints,e=d.length,f=h();while(e--){var g=d[e];if(g.getExact()){var i=Math.max(b,g.getValue());c=Math.max(c,g.getValue());var j="";(i===b||c&&c===i)&&(j=i+"px");return{height:j+f,maxHeight:i+f+"px",minHeight:c+f+"px"}}c=Math.max(c,g.getValue())}return{height:"",maxHeight:"",minHeight:Math.max(b,c)+f+"px"}};return a}();b("createDeprecatedProperties")(a,{exact:!1});Object.assign(a,{constraints:[]});e.exports=a}),null); __d("WebPixelRatio",[],(function(a,b,c,d,e,f){"use strict";a={get:function(){var a=null;document.documentElement&&(navigator.userAgent.indexOf("Firefox")!==-1||!window.devicePixelRatio&&navigator.userAgent.indexOf("Windows Phone")!==-1)&&(a=screen.width/document.documentElement.offsetWidth,a=Math.max(1,Math.floor(a*2)/2));(a===null||a===1)&&navigator.userAgent.indexOf("IEMobile")!==-1&&Object.prototype.hasOwnProperty.call(screen,"deviceXDPI")&&Object.prototype.hasOwnProperty.call(screen,"deviceYDPI")&&(a=Math.sqrt(screen.deviceXDPI*screen.deviceYDPI)/96,a=Math.max(1,Math.round(a*2)/2));return a!=null&&a!=0?a:window.devicePixelRatio||1}};e.exports=a}),null); __d("cancelAnimationFramePolyfill",[],(function(a,b,c,d,e,f){b=a.__fbNativeCancelAnimationFrame||a.cancelAnimationFrame||a.webkitCancelAnimationFrame||a.mozCancelAnimationFrame||a.oCancelAnimationFrame||a.msCancelAnimationFrame||a.clearTimeout;e.exports=b}),null); __d("cancelAnimationFrame",["TimerStorage","TimeSlice","cancelAnimationFramePolyfill","requestAnimationFrameAcrossTransitions"],(function(a,b,c,d,e,f){__p&&__p();var g=b("TimerStorage").ANIMATION_FRAME;function a(a){__p&&__p();if(a!=null){var c=b("requestAnimationFrameAcrossTransitions").cancelVirtualRAF;if(c!=null)c(a);else{b("TimerStorage").unset(g,a);c=g+String(a);b("TimeSlice").cancelWithToken(c)}}b("cancelAnimationFramePolyfill")(a)}e.exports=a}),null); __d("getOuterHeight",["getStyleProperty"],(function(a,b,c,d,e,f){function a(a){var c=0;["height","margin-top","margin-bottom","padding-top","padding-bottom"].forEach(function(d){c+=parseInt(b("getStyleProperty")(a,d),10)});return c}e.exports=a}),null); __d("setTimeoutWithRetries",["setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=function(a,c,d,e){__p&&__p();e=e;e||(e={startImmediatly:!1,maxRetries:3});var f=e.startImmediatly||!1,g=e.maxRetries;(g===null||g===void 0)&&(g=3);var h=Math.max(0,g||0),i=e.acrossTransitions||!1,j=Math.max(c||0,0),k=0,l=null;g=function c(){d()?a():kK()&&(B=1);if(b("isInIframe")()){var a=new(g||(g=b("URI")))(window.location.href).getQueryData();a=parseInt(a.parent_height,10);a&&(y=a)}window.screen.mozOrientation?window.screen.addEventListener("mozorientationchange",V):window.addEventListener("orientationchange",V);u&&window.matchMedia&&(window.matchMedia("(orientation:landscape)").addListener(W),window.matchMedia("(orientation:portrait)").addListener(W));window.addEventListener("resize",na);J();v&&Q(0,1)}function d(a){return new(b("MViewportConstraint"))(a,!0)}function f(a){return new(b("MViewportConstraint"))(a,!1)}function fa(a){E.appendChild(a)}function H(){G&&b("cancelAnimationFrame")(G),G=b("requestAnimationFrame")(J)}function ga(){G&&b("cancelAnimationFrame")(G),J()}function I(a,c){c=c;for(var a=a;a;a=a.offsetParent)c-=a.offsetTop,c-=parseInt(b("getStyleProperty")(a,"padding-bottom"),10),c-=parseInt(b("getStyleProperty")(a,"border-bottom"),10),c-=parseInt(b("getStyleProperty")(a,"margin-bottom"),10);return Math.max(c,0)}function J(){__p&&__p();G=null;var a=b("ge")("root"),c=b("ge")("viewport");if(j||l&&m)a&&(a.style.minHeight="0"),c&&(c.style.minHeight="0"),E.style.minHeight="0",E.style.paddingBottom="0";else if(!m){var d;v?d=Math.max(K(),M()):d=K();var e=b("MViewportConstraint").getCalculatedStyles(d),f=babelHelpers["extends"]({},e);f.minHeight=parseInt(f.minHeight,10)-O()+"px";a&&Object.assign(a.style,f);c&&Object.assign(c.style,e);Object.assign(E.style,e);b("Stratcom").invoke("m:viewport:update",null,e)}else{f=K();a&&(a.style.minHeight=I(a,f)+"px");c&&(c.style.minHeight=I(c,f)+"px");E.style.minHeight=f+"px";b("Stratcom").invoke("m:viewport:iframe-update-complete")}d!==void 0&&C!==void 0&&(d>C?b("Stratcom").invoke("m:viewport:resize-taller"):b("Stratcom").invoke("m:viewport:resize-shorter"));C=d;b("Stratcom").invoke("m:viewport:update-complete",null,e)}function K(a){a===void 0&&(a=!1);if(x)return x;if(y)return y;return a?window.screen.height:window.innerHeight}function L(){return F.offsetWidth}function ha(){var a=b("ge")("viewport");if(a.getBoundingClientRect)return a.getBoundingClientRect();a=K();var c=L();return{bottom:a,height:a,left:0,top:0,right:c,width:c}}function M(){__p&&__p();if(m||n)return K();if(s&&!t)return window.outerHeight/b("WebPixelRatio").get();else if(r){var a=w?screen.availWidth:screen.availHeight;a-=w?ea:da;return a}else return window.innerHeight}function N(){w===void 0&&Z();return B?!w:w}function O(){var a=Y();if(aa){a=b("DOM").scry(E,"*","MOauthDialogHeader")[0];return a!=null?b("getOuterHeight")(a):0}return a?ca+X():0}function ia(a){P(a,0)}function P(a,c){Q(0,b("Vector").getPos(a).y+c)}function ja(a){var c=b("Vector").getPos(a).y,d=R(),e=K(),f=d+e;a=a.offsetHeight;var g=c+a;cf&&(e=a},{maxRetries:10});return $}function ra(a){var c=Y();c&&(a?b("DOM").show(c):b("DOM").hide(c))}function sa(a,c){c?b("CSS").addClass(E,a):b("CSS").removeClass(E,a)}o={addHeightConstraint:d,addMinHeightConstraint:f,appendNode:fa,getHeaderTop:X,getHeaderHeight:O,getHeaderElement:Y,getHeight:K,getUseableHeight:K,getUseableWidth:L,getWidth:L,getScrollPos:U,getScreenHeight:M,getScroll:U,getScrollHeight:T,getScrollLeft:S,getScrollTop:R,init:c,isLandscape:N,getBoundingRect:ha,scrollBy:la,scrollTo:Q,scrollToTop:ka,scrollToHeader:ma,scrollToNode:ia,scrollToNodeWithOffset:P,scrollToNodeIfNecessary:ja,scrollToY:qa,MViewportConstraint:b("MViewportConstraint"),disableScroll:oa,disableScrollWithOverflowHidden:pa,toggleHeader:ra,toggleBodyClass:sa};e.exports=o}),null); __d("isVisible",["MViewport"],(function(a,b,c,d,e,f){function a(a){var c=getComputedStyle(a);a=a.getBoundingClientRect();return c&&c.visibility!=="hidden"&&a.height>0&&a.bottom>0&&a.top=this._framesPerAnim?1:this._frame+1;if(this._shouldRotate){var d=this._frame*this._degreesPerFrame-this._degreesPerFrame;this._root.style[b("getVendorPrefixedName")("transform")]="rotate("+d+"deg)"}else this._root.className=this._elementClassName+" frame"+this._frame;d=this._animationInterval+this._animationInterval-c;d<16&&(d=16);this._animationTimer=b("setTimeoutAcrossTransitions")(this._doAnimation,d);this._animatingTimeStamp=a}else clearTimeout(this._animationTimer),this._animationTimer=0,this._animating=!1};a.prototype.cleanup=function(){clearTimeout(this._animationTimer)};e.exports=a}),null); __d("MStopNGo",["MViewport","Stratcom","StratcomManager","eventsMixinDeprecated","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f){__p&&__p();function g(){}b("eventsMixinDeprecated")(g,["stop","go"]);Object.assign(g,{TIMER_DELAY:200,_timer:null,_touching:!1,_interactionStartCallback:function(){var a=g;clearTimeout(a._timer);a._touching||a._instance.invoke("stop");a._touching=!0},_interactionStopCallback:function(){var a=g;a._scrollOffset=b("MViewport").getScroll();clearTimeout(a._timer);a._timer=b("setTimeoutAcrossTransitions")(a._delayedCallback,a.TIMER_DELAY)},_delayedCallback:function(){var a=g,c=b("MViewport").getScroll();c.y===a._scrollOffset.y&&c.x===a._scrollOffset.x?(a._touching=!1,a._instance.invoke("go")):a._interactionStopCallback()},_scrollCallback:function(){var a=g;a._touching||a._interactionStartCallback();a._interactionStopCallback()}});(function(){b("StratcomManager").enableDispatch(document,"scroll"),g._instance=new g(),b("Stratcom").listen(["scroll","m:page:render:complete"],null,g._scrollCallback),b("Stratcom").listen(["touchend","touchcancel","MScrollArea:scrollend"],null,g._interactionStopCallback),b("Stratcom").listen(["touchstart","MScrollArea:scrollstart"],null,g._interactionStartCallback)})();e.exports=g}),null); __d("MLoadingIndicator",["invariant","DOM","IndicatorType","MJSAnimator","MLoadingIndicatorSigils","MStopNGo","Stratcom","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f,g){__p&&__p();var h={};Object.keys(b("IndicatorType")).forEach(function(a){return h[b("IndicatorType")[a]]=a});a=function(){"use strict";__p&&__p();function a(a){__p&&__p();if(!("getBoundingClientRect"in a))return;var c=parseInt(a.getAttribute("data-animtype"),10);if(!c||isNaN(c)||!(c in h))return;this.$1=c;this.$2=c!==b("IndicatorType").ANDROID_NONROTATING;this.$3=!1;b("Stratcom").hasSigil(a,b("MLoadingIndicatorSigils").ANIMATE)||(a=b("DOM").find(a,"div",b("MLoadingIndicatorSigils").ANIMATE));this.$4=a;this.$5=0;c=this.willStartAnimation.bind(this);this.$6=[b("Stratcom").listen(["m:side-area:show","m:jewel:flyout:open"],null,c),b("Stratcom").listen("m:page:unload",null,this.$7.bind(this)),b("MStopNGo").listen("go",c),b("MStopNGo").listen("stop",this.willPauseAnimation.bind(this))]}var c=a.prototype;c.setSpinAcrossPageTransitions=function(a){this.$3=!0;return this};c.$8=function(){this.$9(!0)};c.$10=function(){this.$11&&this.$11.pause()};c.$9=function(a){if(!document.body.contains(this.$4)){this.$7();return}this.$11||(this.$11=this.$12());a?this.$11.start():this.$11.stop()};c.$12=function(){return new(b("MJSAnimator"))(this.$4,this.$1,this.$2)};c.willStartAnimation=function(){clearTimeout(this.$5),this.$5=b("setTimeoutAcrossTransitions")(this.$8.bind(this),100)};c.willPauseAnimation=function(){clearTimeout(this.$5),this.$5=b("setTimeoutAcrossTransitions")(this.$10.bind(this),100)};c.$7=function(){__p&&__p();if(this.$3)return;clearTimeout(this.$5);this.$11&&this.$11.cleanup();this.$4=null;if(this.$6){for(var a=0,b=this.$6.length;a10&&(h._scrollUnitHistory={});h._scrollUnitHistory[h._getCacheKey(a)]=h._scrollUnitHistory[h._getCacheKey(a)]||{};f=Object.keys(h._scrollUnitHistory[h._getCacheKey(a)]);f.length>10&&(h._scrollUnitHistory[h._getCacheKey(a)]={});h._scrollUnitHistory[h._getCacheKey(a)][c]={top:d,left:e}},getScrollUnitHistory:function(a,c){if(!b("gkx")("1132652"))return null;a=h._getCacheKey(a);if(h._scrollUnitHistory[a]){var d=h._scrollUnitHistory[a][c];delete h._scrollUnitHistory[a][c];return d}return null},setScrollHistory:function(a,b){h._scrollHistory[h._getCacheKey(a)]=b},getScrollHistory:function(a){a=h._getCacheKey(a);var b=h._scrollHistory[a];delete h._scrollHistory[a];return b},_getCacheKey:function(a){return new(b("MURI"))(a).normalize().toString()},_getItemByURI:function(a){return h._pageCache[h._getCacheKey(a)]},_hasCacheExpired:function(a,b){if(!a)return!0;a=a.time;if(b===0)return!0;var c=Date.now();if(c>=a+b)return!0;return c<=a-6e5?!0:!1}};e.exports=h}),null); __d("MPageControllerPathsManager",["MPageControllerConfig","MURI"],(function(a,b,c,d,e,f){"use strict";var g=b("MPageControllerConfig").SOFT_STATE_KEY,h=null,i=null;a={isRenderedPath:function(a){return a?h===new(b("MURI"))(a).normalize().toString():!h},getRenderedPath:function(){return h},setRenderedPath:function(a){h=a?new(b("MURI"))(a).normalize().addQueryData(g,void 0).toString():null},getRequestPath:function(){return i},setRequestPath:function(a){i=a?new(b("MURI"))(a).normalize().addQueryData(g,void 0).toString():null}};e.exports=a}),null); __d("MPageControllerPath",["MAjaxSafety","MPageControllerPathsManager","MURI","gkx"],(function(a,b,c,d,e,f){__p&&__p();function g(a,c){var d=a===c;a=b("MAjaxSafety").browserEncodeURI(a)===b("MAjaxSafety").browserEncodeURI(c);return d!==a}e.exports={isRequestPath:function(a){var c=this.getRequestPath();if(!a||!c)return!a&&!c;c=c;a=new(b("MURI"))(a).normalize().toString();g(c,a)&&b("gkx")("676781")&&(c=b("MAjaxSafety").browserEncodeURI(c),a=b("MAjaxSafety").browserEncodeURI(a));return c===a},getRequestPath:function(){return b("MPageControllerPathsManager").getRequestPath()},setRequestPath:function(a){b("MPageControllerPathsManager").setRequestPath(a)}}}),null); __d("legacy:m-ajaxify-js",["MAjaxify"],(function(a,b,c,d,e,f){a.MAjaxify=b("MAjaxify")}),3); __d("killswitch",["KSConfig"],(function(a,b,c,d,e,f){"use strict";function a(a){return b("KSConfig").killed.has(a)}e.exports=a}),null); __d("CacheStorage",["ErrorGuard","EventListener","ExecutionEnvironment","FBJSON","WebStorage","emptyFunction","killswitch"],(function(a,b,c,d,e,f){__p&&__p();var g,h,i="_@_",j="3b",k="CacheStorageVersion",l={length:0,getItem:a=b("emptyFunction"),setItem:a,clear:a,removeItem:a,key:a};c=function(){"use strict";__p&&__p();function a(a){this._store=a}var b=a.prototype;b.getStore=function(){return this._store};b.keys=function(){var a=[];for(var b=0;b1&&(h=1),i=g?g(h):h,this._value=i);if(e||c(i,this._animating,a)===!1||h===1){c=null;d=null;h=null;g=null;h=null;k=null;this.stop();return}this._animID=b("requestAnimationFrame")(k)}.bind(this);this._animID=b("requestAnimationFrame")(k)};c.stop=function(){if(this._disposed)return;this._animating&&(this._animating=!1,b("cancelAnimationFrame")(this._animID),this._onStopCallback&&this._onStopCallback(this._value,this._animating,Date.now()),delete this._animID,delete this._onStopCallback,this._value=0)};a.play=function(b,c,d,e,f){var g=new a(),h=c-b,i=function(a){return e(b+h*a)},j=function(a){i(a),i=null,h=null,e=null,c=null,b=null};g.start(i,null,j,d,f);return g};a.easeOutCubic=function(a){return Math.pow(a-1,3)+1};a.easeInOutCubic=function(a){return(a/=.5)<1?.5*Math.pow(a,3):.5*(Math.pow(a-2,3)+2)};return a}();Object.assign(a.prototype,{_value:0});e.exports=a}),null); __d("InitMAjaxify",["MAjaxify","MLegacyDataStore","MLinkHack","MRequest","Stratcom"],(function(a,b,c,d,e,f){__p&&__p();var g={};function h(a){g[a]=g[a]||new RegExp("(^|\\s+)"+a+"(\\s+|$)");return g[a]}function a(a,b){a=a.className||"";return a.match(h(b))}b("Stratcom").listen("click","ajaxify",function(a){__p&&__p();a.prevent();var c=a.getNode("ajaxify"),d=c.getAttribute("data-ajaxify-class"),e=c.getAttribute("data-confirm-text");if(e&&!confirm(e))return;var f=b("MLegacyDataStore").get(c);if(f.loading)return;f.loading=!0;e=function(){f&&(f.loading=f.request=null),f=null};var g=function(){b("Stratcom").invoke("m:ajax:complete")};e={"finally":e,postprocess:g};g=b("MLinkHack").remove(c);var h=c.getAttribute("data-ajaxify-href")||c.getAttribute("href");if(c.getAttribute("data-method")==="post"){var i=new(b("MRequest"))(h);i.setAutoRetry(!0);f.request=i;b("MAjaxify").ajaxify(a.getRawEvent(),c,i,d,null)}else b("MAjaxify").link(a.getRawEvent(),h,d,e);g&&b("MLinkHack").add(c)})}),null); __d("MScrollPositionSaver",["MViewport","Stratcom","Vector","$","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f){__p&&__p();var g,h={getElementPositionY:function(a){return b("Vector").getPos(a).y},getScrollPosition:function(a){__p&&__p();var c=b("$")("root");g=a;a=a?a.scrollTop:b("MViewport").getScrollTop();if(a0||d>0)&&(c?c.scrollTop=a:b("MViewport").scrollTo(0,a))}},i=null,j=null,k=b("MViewport").isLandscape(),l=!1,m=!1;function n(){var a=g?g.scrollTop:b("MViewport").getScrollTop();a!=i&&(j=h.getScrollPosition(g),i=a);m=!1}b("Stratcom").listen("scroll",null,function(a){if(a.getType()=="scroll"&&l)return;m||(b("setTimeoutAcrossTransitions")(n,50),m=!0)});b("Stratcom").listen("resize",null,function(){l=!0,b("setTimeoutAcrossTransitions")(function(){var a=b("MViewport").isLandscape();j&&k!==a&&(k=a,h.setScrollPosition(j,g),n());l=!1},200)});e.exports=h}),null); __d("MTouchClick",["MCache","Stratcom","Vector"],(function(a,b,c,d,e,f){__p&&__p();var g="MTouchClick.RECENT_CLICKS",h=20,i=2e3,j=["click"],k=null,l=null,m=navigator.userAgent.indexOf("Android")===-1&&navigator.userAgent.match(/^Mozilla\/.*Mobile;.*Gecko\/.*Firefox/g),n=null,o=0,p=200;function q(a){n=a.target,o=a.timeStamp}function r(){n=null,o=0}function s(){var a=u(),c=Date.now();a=a.filter(function(a){return c-a.time0&&c.length>0){b=f(b);for(var d=0;d0&&a.target===n&&Math.abs(a.timeStamp-o)window.innerWidth;return Math.abs(n.y-b.screenY)>=i||a&&Math.abs(n.x-b.screenX)>=i}b("MTouchClick").hasTouchEvents()&&b("Stratcom").listen("touchstart",h,a)}),null); __d("XPlacesUpdateLocationController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/places/location_update/",{json_location:{type:"String"},source:{type:"Enum",defaultValue:"msite_unknown",enumType:1}})}),null); __d("MLocationPrompt",["DOM","MRequest","MTaggingCounter","Stratcom","WebStorage","XPlacesUpdateLocationController"],(function(a,b,c,d,e,f){__p&&__p();var g,h=["latitude","longitude","accuracy","altitude","altitudeAccuracy","heading","speed"],i={enableHighAccuracy:!0,timeout:6e4,maximumAge:3e5},j=6e4;a=function(){"use strict";__p&&__p();a.init=function(b,c,d,e){return new a(b,c,d,e)};a.getCoords=function(){return a.coords};a.isLocationAvailable=function(){return a.locationAvailable};function a(c,d,e,f){__p&&__p();this.lastUpdateTime=0;this.container=c;this.question=d;this.loading=e;this.errored=f;c=(g||(g=b("WebStorage"))).getLocalStorage();if(c&&c.getItem(a.GEOLOCATION_KEY)==="1")this.$1();else{a.locationAvailable=!1;(d=b("DOM")).show(this.question);d.hide(this.loading);d.hide(this.errored);d.show(this.container);b("Stratcom").invoke("m:jewel-set:notifications-jewel:refresh-flyout");b("MTaggingCounter").logEvent("geo_panel_load")}this.listeners=[b("Stratcom").listen("click","accept-location",this.$2.bind(this)),b("Stratcom").listen("click","deny-location",this.$3.bind(this)),b("Stratcom").listen("m:page:unload",null,this.$4.bind(this))]}var c=a.prototype;c.clearWatch=function(){if(!this.watchID)return;navigator.geolocation.clearWatch(this.watchID);this.watchID=null};c.$2=function(){b("MTaggingCounter").logEvent("geo_panel_accept"),this.$1(!0)};c.$1=function(c){__p&&__p();a.locationAvailable=!0;var d=(g||(g=b("WebStorage"))).getLocalStorage();d&&d.setItem(a.GEOLOCATION_KEY,"1");b("DOM").show(this.container);b("DOM").hide(this.question);b("DOM").show(this.loading);b("DOM").hide(this.errored);b("Stratcom").invoke("m:jewel-set:notifications-jewel:refresh-flyout");var e=setTimeout(this.$5,i.timeout);this.watchID=navigator.geolocation.watchPosition(function(a){c&&b("MTaggingCounter").logEvent("geo_panel_success"),clearTimeout(e),this.$6(a)}.bind(this),function(a){c&&b("MTaggingCounter").logEvent("geo_panel_fail"),clearTimeout(e),this.$5(a)}.bind(this),i);b("Stratcom").invoke(a.STRATCOM_ACCEPT)};c.$3=function(){a.locationAvailable=!1,b("MTaggingCounter").logEvent("geo_panel_deny"),b("DOM").hide(this.container),b("Stratcom").invoke("m:jewel-set:notifications-jewel:refresh-flyout"),b("Stratcom").invoke(a.STRATCOM_DENY)};c.$6=function(c){__p&&__p();a.locationAvailable=!0;if(c){var d={},e;for(var f=0;fj){this.lastUpdateTime=c;c=b("XPlacesUpdateLocationController").getURIBuilder().setString("json_location",a).setEnum("source","msite_location_prompt").getURI();new(b("MRequest"))(c).setMethod("POST").send()}};c.$4=function(){if(!this.listeners)return;for(var a=0;a0?(o[d-1]=a,p("replace_overlay_view",b)):(o.push(a),p("open_overlay_view",b)))},closeOverlayView:function(a,b){a=o.lastIndexOf(a);if(a===-1)return;k=Object.assign({},l);l&&(a>0?l.topViewEndpoint=o[a-1]:l.topViewEndpoint=null);o=o.slice(0,a);p("close_overlay_view",b)},setClickPointInfo:function(a){n=a,r()},getClickPointInfo:function(){return n},getScriptPath:q,getCategoryToken:function(){return l?l.categoryToken:void 0},getEarlyFlushPage:function(){var a;return(a=l)==null?void 0:(a=a.extraData)==null?void 0:a.ef_page},getTopViewEndpoint:function(){var a=o.length;return a>0?o[a-1]:q()},getPageInfo:function(){return l},getSourcePageInfo:function(){return k},subscribe:function(a){return m.add(b("TimeSlice").guard(a,"ScriptPath.subscribe"))},shutdown:function(){r()}};e.exports=c}),null); __d("MModalDialog",["fbt","CSS","DOM","FWLoader","MHistory","MLinkHack","ModalDialogURIWhitelistForNavigationLogging","MPageCache","MPageController","MRequest","MRequestGateway","MRequestTypes","MScrollPositionSaver","MURI","MViewport","ScriptPath","Stratcom","URI","$","ge","gkx","setTimeout","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f,g){__p&&__p();var h,i=b("FWLoader").FW,j="dialog-ignore-subtree-links",k="mds",l="mdf",m="mdp",n="fw:modal-dialog:close",o="m:modal-dialog:step-change",p="m:modal-dialog:initial-load",q="m:modal-dialog:close",r="m:modal-dialog:will-close",s,t=!1,u=!1,v=!1,w,x,y,z,A,B,C,D=[],E=null,F=null,G;function a(){return u}function c(a,b,c){F=b,H(a,c)}function H(a,c,d,e){__p&&__p();e===void 0&&(e={});a instanceof(h||(h=b("URI")))&&(a=a.toString());$(a)&&b("ScriptPath").openOverlayView(a);if(window.FW_ENABLED){c&&b("Stratcom").listen(n,null,function(a){b("Stratcom").removeCurrentListener(),c&&c(a.getData())});var f=encodeURIComponent(a);i.openInNewWebView("fb://facewebmodal/f?href="+f);return}if(u)throw new Error("A modal dialog is already open.");b("DOM").hide(Y());b("DOM").setContent(X(),null);u=!0;S(!0);w=c;d?M(d):M(g._("Loading..."));P(!0);C=b("MScrollPositionSaver").getScrollPosition();J(a,babelHelpers["extends"]({},e,{firstStep:!0}));b("DOM").hide(b("$")("viewport"));b("DOM").show(s);b("MViewport").scrollToHeader();B=b("MViewport").getUseableHeight()-b("$")("mDialogHeader").offsetHeight}function I(a){a===void 0&&(a={});if(window.FW_ENABLED){i.broadcastEvent(n,null,a,1);i.dismissModalDialog(!0);return}$(y)&&b("ScriptPath").closeOverlayView(y);!!a&&a.goBack===!0?(E=R.bind(null,a),window.history.go(-1)):R(a)}function J(a,c){c===void 0&&(c={});a instanceof(h||(h=b("URI")))&&(a=a.toString());c.dontPushState||K(F,a,c);if(c.hideNavBar){c=b("ge")("mDialogHeader");c!=null&&b("DOM").hide(c)}U(a)}function K(a,c,d){__p&&__p();d===void 0&&(d={});x=c||x;D.push(b("MViewport").getScrollPos());if(!window.FW_ENABLED){a=a||b("MHistory").getPath();c=new(b("MURI"))(a).addQueryData(b("MHistory").SOFT_STATE_KEY).addQueryData(k,x.toString());a===F&&(b("gkx")("726410")&&(c=c.addQueryData(m,1)));d.firstStep?c.addQueryData(l,1):c.addQueryData(l,void 0);b("MHistory").pushState(c.toString())}}function L(){b("Stratcom").invoke(o);window.FW_ENABLED?ca(!0):(v=!0,window.history.go(-1));if(D.length){var a=D.pop();b("setTimeout")(function(){b("MViewport").scrollTo(a.x,a.y)})}}function M(a){b("DOM").setContent(z,a)}function N(){return z.innerText||null}function O(a){b("CSS").conditionClass(b("$")("modalDialog"),"spin",a)}function P(a){b("DOM").scry(b("$")("mDialogHeader"),"button").forEach(function(b){b.disabled=!a})}function d(a){Q(),u=!0,a instanceof(h||(h=b("URI")))&&(a=a.toString()),y=a,b("Stratcom").invoke(o)}function Q(){__p&&__p();var a=b("$")("modalDialog");if(s===a)return;s=a;b("Stratcom").addSigil(s,"context-layer-root");z=b("DOM").find(a,"div","dialog-title");G=b("DOM").listen(a,"click","dialog-cancel-button",function(a){a.kill(),I({canceled:!0,goBack:!0})});b("DOM").listen(a,"click","dialog-back-button",function(a){a.kill(),L()});b("DOM").listen(a,"click",null,function(a){__p&&__p();var c=a.getNode("tag:a");if(!c)return;if(a.getPrevented())return;var d=a.getNode(j);if(c.getAttribute("rel")=="ignore"||d)return;a.kill();if(b("Stratcom").hasSigil(c,"cancel-link")){L();return}b("MLinkHack").remove(c);d=c.getAttribute("href");b("setTimeoutAcrossTransitions")(J.bind(null,d),200)});window.FW_ENABLED?A=[]:b("Stratcom").listen("m:history:change",null,aa);b("Stratcom").listen("m:page:unload",null,function(){!window.FW_ENABLED&&u&&I({canceled:!0})})}function R(a){__p&&__p();b("Stratcom").invoke(r);b("DOM").hide(s);var c=b("ge")("mDialogHeader");c!=null&&b("DOM").show(c);b("DOM").show(b("$")("viewport"));C&&b("MScrollPositionSaver").setScrollPosition(C);w&&w(a);b("Stratcom").invoke(o);b("DOM").setContent(b("$")("modalDialogView"),null);b("Stratcom").invoke(q);u=!1}function aa(a){__p&&__p();var c=new(h||(h=b("URI")))(a.getData().path).getQueryData(),d=c[k];if(E!==null){if(d)a.kill(),window.history.go(-1);else{var e=E;E=null;e&&e()}return}if(!u){d&&!c[m]&&(a.kill(),window.history.go(-1));return}a.prevent();if(!d){I({canceled:!0});return}S(!!c[l]);if(d===x.toString())return;b("MRequestGateway").stopAllRequests();x=d;if(!v&&b("MPageCache").isPageCached(d,b("MPageController").HISTORY_EXPIRE_MS)){e=b("MPageCache").getCachedPage(d);e&&(e.listen("complete",V.bind(this,d)),e.process())}else v=!1,U(d)}function e(a){this._customData=a}function ba(){return this._customData}function ca(a){if(A.length===0)return;var c=A.pop();A.length===0&&S(!0);a?J(c.uri):(b("DOM").setContent(b("$")("modalDialogView"),c.content),W(c.rightButtons),M(c.title),V(c.uri))}function S(a){b("CSS").conditionClass(b("$")("mDialogHeader"),"firstStep",a),t=a}function T(){return t}function da(){b("DOM").hide(Z()),b("DOM").show(Y())}function ea(){b("DOM").show(Z()),b("DOM").hide(Y())}function fa(){b("DOM").hide(Z()),b("DOM").hide(Y())}function U(a){__p&&__p();function c(a){var b=document.createDocumentFragment();while(a.firstChild)b.appendChild(a.removeChild(a.firstChild));return b}O(!0);T()||b("Stratcom").invoke(o);window.FW_ENABLED&&(A.push({content:c(b("$")("modalDialogView")),uri:y,title:N(),rightButtons:c(b("$")("modalDialogHeaderButtons"))}),S(!1));c=new(b("MRequest"))(new(b("MURI"))(a).toString()).setType(b("MRequestTypes").TRANSITION);c.setMethod("GET");c.listen("postprocess",function(c){window.FW_ENABLED||b("MPageCache").setCachedPage(a,c.response),V(a)});c.send()}function V(a){window.FW_ENABLED||(b("$")("modalDialogView").style.minHeight=B+"px"),O(!1),y=a,T()&&b("Stratcom").invoke(p,null,{uri:a}),b("Stratcom").invoke("m:ajax:complete")}function W(a){b("DOM").setContent(X(),a)}function X(){return b("$")("modalDialogHeaderButtons")}function Y(){return b("DOM").find(s,"*","dialog-cancel-button")}function Z(){return b("DOM").find(s,"*","dialog-back-button")}function ga(a){a?b("DOM").replace(Y(),a):b("DOM").hide(Y())}function ha(a){u?J(a):H(a)}function ia(){var a=b("ge")("modalDialogView"),c=b("ge")("mDialogHeader");c!=null&&(b("DOM").hide(c),B=b("MViewport").getHeight(),a.style.minHeight=B+"px")}function $(a){return Object.values(b("ModalDialogURIWhitelistForNavigationLogging")).indexOf(a)>-1}function ja(){G.remove()}f.init=Q;f._replaceButtons=W;f._replaceCancelButton=ga;f.STEP_CHANGE_EVENT=o;f.STEP_KEY=k;f.INITIAL_LOAD_EVENT=p;f.CLOSE_EVENT=q;f.WILL_CLOSE_EVENT=r;f.close=I;f.hideHeader=ia;f.getIsFirstStep=T;f.goBack=L;f.initForFaceweb=d;f.isOpen=a;f.load=J;f.loadOrOpen=ha;f.open=H;f.pushState=K;f.setSpinnerVisibility=O;f.setTitle=M;f.setHeaderButtonsEnabledState=P;f.openWithPermalinkURI=c;f.showCancelButton=da;f.removeCancelButtonClickListener=ja;f.showBackButton=ea;f.hideBackAndCancelButtons=fa;f.setCustomData=e;f.getCustomData=ba}),null); __d("MModalDialogLink",["MLegacyDataStore","MModalDialog","MPageController","Stratcom"],(function(a,b,c,d,e,f){__p&&__p();var g="dialog-link";b("Stratcom").listen("click",g,function(a){__p&&__p();a.prevent();var c=a.getNode(g);switch(c.getAttribute("rel")){case"dialog":b("MModalDialog").open(b("MLegacyDataStore").get(a.getNode(g)).dialogURI,function(a){a&&(a.redirectURI?b("MPageController").forceLoad(a.redirectURI):a.refresh&&b("MPageController").reload())},c.getAttribute("data-loading-title"));break;case"dialog-load":b("MModalDialog").load(b("MLegacyDataStore").get(a.getNode(g)).dialogURI,{dontPushState:!1,hideNavBar:!1},c.getAttribute("data-loading-title"));break;case"dialog-close":b("MModalDialog").close({redirectURI:b("MLegacyDataStore").get(a.getNode(g)).dialogURI,goBack:!0});break;case"dialog-close-and-navigate":b("MModalDialog").close({redirectURI:b("MLegacyDataStore").get(a.getNode(g)).dialogURI,goBack:!1});break;case"dialog-close-and-refresh":b("MModalDialog").close({refresh:!0,goBack:!0});break}})}),null); __d("throttle",["TimeSlice","TimeSliceInteractionSV","setTimeout","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f){__p&&__p();function a(a,c,d){return g(a,c,d,b("setTimeout"),!1)}Object.assign(a,{acrossTransitions:function(a,c,d){return g(a,c,d,b("setTimeoutAcrossTransitions"),!1)},withBlocking:function(a,c,d){return g(a,c,d,b("setTimeout"),!0)},acrossTransitionsWithBlocking:function(a,c,d){return g(a,c,d,b("setTimeoutAcrossTransitions"),!0)}});function g(a,c,d,e,f){__p&&__p();var g=c==null?100:c,h,i,j=0,k=null,l=[],m=b("TimeSlice").guard(function(){__p&&__p();j=Date.now();if(i){var b=function(b){a.apply(h,b)}.bind(null,i),c=l.length;while(--c>=0)b=l[c].bind(null,b);l=[];b();i=null;k=e(m,g)}else k=null},"throttle_"+g+"_ms",{propagationType:b("TimeSlice").PropagationType.EXECUTION,registerCallStack:!0});m.__SMmeta=a.__SMmeta;return function(){b("TimeSliceInteractionSV").ref_counting_fix&&l.push(b("TimeSlice").getGuardedContinuation("throttleWithContinuation")),i=arguments,h=this,d!==void 0&&(h=d),(k===null||Date.now()-j>g)&&(f?m():k=e(m,0))}}e.exports=a}),null); __d("MMoreItemAutomatic",["MLocationPrompt","MPageCache","MPageControllerPath","MRequest","MRequestGateway","MRequestTypes","MResponseData","MStopNGo","MURI","MViewport","Stratcom","Vector","setTimeout","throttle"],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";__p&&__p();function a(a){__p&&__p();var c=this;this.$25=function(){c.$4?c.$26():!c.$5&&!c.$17&&c.$27()};this.$3=a.href;this.$20=a.sendGeolocation;this.$15=a.proximity_pages||7;this.$8=a.logger_id;this.$9=a.logger_name;this.$7=a.load_first_immediately;this.$18=a.retryOnError;this.$1=a.addToCache;this.$2=a.alwaysProcess;this.$19=a.scrollPrefetchThrottleFreq||0;this.$4=a.insertWhileScrolling;this.$17=!1;this.$16=!0;this.$12=0;this.$11=!1;this.$5=!1;this.$21=0;this.$6=null;this.$10=null;this.$13=!1;this.$14=null;var d=document.getElementById(a.id);d?(this.$21=b("Vector").getPos(d).y,this.$10=d,this.$13=a.persist_on_reload,this.$22()):this.uninstall()}var c=a.prototype;c.isElementVisible=function(){__p&&__p();if(!this.$23())return!1;var a=this.$10;if(a&&"getBoundingClientRect"in a){var c=a.getBoundingClientRect(),d=c.width/10,e=c.height/10,f=c.left,g=c.right,h=c.top;c=c.bottom;var i=!1;while(!i&&f<=g&&h<=c){f=Math.round(f+d);h=Math.round(h+e);var j=document.elementFromPoint(f,h);i=a.contains(j)}j=i}else{d=b("Vector").getPos(a).y;e=d+b("Vector").getDim(a).y;f=b("MViewport").getScrollTop();g=f+b("MViewport").getUseableHeight();j=d<=g&&e>=f}return j};c.$24=function(){var a=this.$10;a&&(this.$21-b("MViewport").getScrollTop()<0&&(b("Stratcom").invoke("m:more_item_automatic:items_visible",this.$8),this.uninstall()))};c.$26=function(){!this.$5?(this.$16=!0,this.isElementVisible()&&b("Stratcom").invoke("m:more_item_automatic:spinner_visible",this.$8,this.$9),!this.$17?this.$27():this.$28()):this.$24()};c.$29=function(){this.$5||(this.$16=!1)};c.$30=function(){!this.$17&&(this.$7||this.isElementVisible())&&(this.$31(),this.$7=!1)};c.$22=function(){!this.$17&&(this.$7||this.isElementVisible())&&(this.$31(),this.$7=!1),this.$6=[],this.$19>0&&this.$6.push(b("Stratcom").listen(["m:page:render:complete","scroll"],null,b("throttle").withBlocking(this.$25,this.$19,this))),this.$4||this.$6.push(b("MStopNGo").listen("go",this.$26.bind(this)),b("MStopNGo").listen("stop",this.$29.bind(this))),this.$6.push(b("Stratcom").listen("m:ajax:complete",null,this.$30.bind(this)))};c.$32=function(){var a=this.$10;if(a){var b=document;b=b.documentElement;if(b)return b.contains(a)}return!1};c.uninstall=function(){while(this.$6&&this.$6.length)this.$6.pop().remove();this.$17=!1;this.$14=null;this.$10=null;this.$13=!1};c.withinProximity=function(){var a=this.$10;return!!a&&b("Vector").getPos(a).y-b("MViewport").getScrollTop()100&&this.withinProximity())&&this.$31()};c.$31=function(){__p&&__p();var c=b("MLocationPrompt").getCoords();this.$20&&c&&(this.$3=new(b("MURI"))(this.$3).addQueryData("lat",c.latitude).addQueryData("long",c.longitude).toString());c=new(b("MRequest"))(new(b("MURI"))(this.$3).toString());this.$2?c.setType(b("MRequestTypes").INDEPENDENT):c.setType(b("MRequestTypes").DEPENDENT);c.setAutoProcess(!1);var d=[],e=!1,f=function(){!e&&d.length&&(e=!0,d.shift().process())};this.$18&&(c.setTimeout(b("MRequestGateway").ERROR_TIMEOUT),c.setFinalizeUponError(!1),c.listen("error",function(c,d){b("setTimeout")(function(){navigator.onLine&&(d.reset(),d.addData({is_retry:1}),d.sendAfterProcessing())},a.TRY_AGAIN_DELAY)}));c.listen("response",function(a){__p&&__p();a=new(b("MResponseData"))(a);a.listen("complete",function(){e=!1,f()});if(a.isPagelet()){d.push(a);f();return}e=!0;this.$14=a;this.$16&&this.$28()}.bind(this));c.send();this.$17=!0};c.getPersistOnReload=function(){return this.$13};return a}();a.TRY_AGAIN_DELAY=1500;e.exports=a}),null); __d("InitMMoreItemAutomatic",["MMoreItemAutomatic","Stratcom"],(function(a,b,c,d,e,f){var g;a=function(a){g||(g={},b("Stratcom").listen("m:page:loading",null,function(a){for(var b in g)g[b].getPersistOnReload()||(g[b].uninstall(),delete g[b])}));var c=a.id;g[c]&&g[c].uninstall();g[c]=new(b("MMoreItemAutomatic"))(a)};f.main=a}),null); __d("MContextualThing",[],(function(a,b,c,d,e,f){__p&&__p();var g=0,h={register:function(a,b){b.id=b.id||"ctxtlayer_"+g++,a.setAttribute("data-ownerid",b.id)},containsIncludingLayers:function(a,b){while(b){if(a.contains(b))return!0;b=h.getContext(b)}return!1},getContext:function(a){var b;while(a){if(a.getAttribute&&(b=a.getAttribute("data-ownerid")))return document.getElementById(b);a=a.parentNode}return null}};e.exports=h}),null); __d("BehaviorsMixin",[],(function(a,b,c,d,e,f){__p&&__p();var g=function(){"use strict";function a(a){this.$1=a,this.$2=!1}var b=a.prototype;b.enable=function(){this.$2||(this.$2=!0,this.$1.enable())};b.disable=function(){this.$2&&(this.$2=!1,this.$1.disable())};return a}(),h=1;function i(a){a.__BEHAVIOR_ID||(a.__BEHAVIOR_ID=h++);return a.__BEHAVIOR_ID}a={enableBehavior:function(a){this._behaviors||(this._behaviors={});var b=i(a);this._behaviors[b]||(this._behaviors[b]=new g(new a(this)));this._behaviors[b].enable();return this},disableBehavior:function(a){if(this._behaviors){a=i(a);this._behaviors[a]&&this._behaviors[a].disable()}return this},enableBehaviors:function(a){a.forEach(this.enableBehavior,this);return this},destroyBehaviors:function(){if(this._behaviors){for(var a in this._behaviors)this._behaviors[a].disable();this._behaviors={}}},hasBehavior:function(a){return this._behaviors&&i(a)in this._behaviors}};e.exports=a}),null); __d("MLayer",["BehaviorsMixin","CSS","DOM","MContextualThing","MLegacyDataStore","Stratcom","ge","mixin","mixInEventEmitter","nullthrows","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f){__p&&__p();var g=[],h={};d=function(a){"use strict";__p&&__p();babelHelpers.inheritsLoose(c,a);function c(b){var c;c=a.call(this)||this;c.$MLayer2=!1;c.$MLayer3=!1;c.$MLayer4=!1;c.$MLayer5=null;c.config=b||{layerid:void 0};return c}var d=c.prototype;d.init=function(a){__p&&__p();if(this.config.layerid){if(h[this.config.layerid])return;h[this.config.layerid]=this}this.configure(this.config,b("nullthrows")(a));a=this.config.addedBehaviors||[];this.enableBehaviors(this.getDefaultBehaviors().concat(a));a=b("ge")("flyout-nocontext-root");a||(a=b("DOM").create("div",{id:"flyout-nocontext-root"}));b("DOM").appendContent(document.body,a);b("DOM").appendContent(a,this.getRoot());b("DOM").hide(this.getRoot());b("Stratcom").invoke("m:layer:init",null,this)};d.configure=function(a,c){__p&&__p();this.$MLayer1=this.buildWrapper(a,c);b("Stratcom").addSigil(this.$MLayer1,"m-layer-root");c=a.attributes;if(c){if(c.sigil){var d=c.sigil.split(" ");d.forEach(function(a){b("Stratcom").addSigil(this.$MLayer1,a)},this);delete c.sigil}for(var e in c)this.getRoot().setAttribute(e,c[e])}a.classNames&&a.classNames.forEach(function(a){b("CSS").conditionClass(this.$MLayer1,a,!0)},this);a.causalElement&&(this.$MLayer5=a.causalElement);b("MLegacyDataStore").set(this.$MLayer1,{layer:this})};d.getDefaultBehaviors=function(){return[]};d.getCausalElement=function(){return this.$MLayer5};d.setCausalElement=function(a){this.$MLayer5=a;return this};d.setPreventShowOnce=function(){this.$MLayer4=!0};d.getInsertParent=function(){return this.insertParent||b("nullthrows")(document.body)};d.getRoot=function(){return b("nullthrows")(this.$MLayer1)};d.getContentRoot=function(){return this.$MLayer1};d.buildWrapper=function(a,b){return b};d.setInsertParent=function(a){a&&(this.$MLayer2&&a!==this.getInsertParent()&&(b("DOM").appendContent(a,this.getRoot()),this.updatePosition()),this.insertParent=a);return this};d.show=function(){__p&&__p();if(this.$MLayer2)return this;var a=this.getRoot(),c=this.getInsertParent();a.parentNode!==c&&b("DOM").appendContent(c,a);this.emit("beforeshow");if(this.$MLayer4){this.$MLayer4=!1;return this}a.style.visibility="hidden";a.style.overflow="hidden";b("DOM").show(a);this.updatePosition()!==!1?(this.$MLayer2=!0,this.emit("show"),b("Stratcom").invoke("Layer:show",null,this),b("setTimeoutAcrossTransitions")(function(){this.$MLayer2&&g.push(this)}.bind(this))):b("DOM").hide(a);a.style.visibility="";a.style.overflow="";this.emit("aftershow");return this};d.hide=function(){if(this.$MLayer3||!this.$MLayer2||this.emit("beforehide")===!1)return this;this.$MLayer3=!0;this.emit("starthide")!==!1&&this.finishHide();return this};d.conditionShow=function(a){return a?this.show():this.hide()};d.finishHide=function(){this.$MLayer2&&(g.splice(g.indexOf(this),1),this.$MLayer3=!1,this.$MLayer2=!1,b("DOM").hide(this.getRoot()),this.emit("hide"),b("Stratcom").invoke("m:layer:hide",null,this));return this};d.isShown=function(){return this.$MLayer2};d.updatePosition=function(){return!0};d.updateIfShown=function(){this.isShown()&&this.updatePosition()};d.isDestroyed=function(){return this.destroyed};d.destroy=function(){__p&&__p();if(this.destroyed)return;this.destroyed=!0;this.finishHide();var a=this.getRoot();b("DOM").remove(a);this.destroyBehaviors();this.emit("destroy");b("Stratcom").invoke("Layer:destroy",null,this);delete b("MLegacyDataStore").get(a).layer;this.$MLayer1=this.$MLayer5=null;this.config.layerid&&delete h[this.config.layerid];this.config=null};d.shouldBlurOnTouchEnd=function(){return!0};c.getLayers=function(){return h};c.show=function(a){a.show()};return c}(b("mixin")(b("BehaviorsMixin")));b("mixInEventEmitter")(d,{destroy:!0,blur:!0,beforeshow:!0,show:!0,aftershow:!0,beforehide:!0,starthide:!0,hide:!0});var i;function a(a){a=a.getTouch();var b=a.clientX;a=a.clientY;i={x:b,y:a}}function c(a){__p&&__p();var c=g.length;if(!c)return;var d=a.getTarget(),e=a.getType();if(!b("nullthrows")(document.documentElement).contains(d))return;if(e==="touchend"&&i){a=a.getTouch();var f=a.clientX;a=a.clientY;f=Math.sqrt(Math.pow(i.x-f,2)+Math.pow(i.y-a,2));i=null;if(f>5)return}while(c--){a=g[c];if(!a.isShown())continue;f=a.getContentRoot();if(b("MContextualThing").containsIncludingLayers(f,d))return;f=a.getCausalElement();if(e==="touchend"&&f&&(f.contains(d)||f===d||!a.shouldBlurOnTouchEnd()))continue;if(a.emit("blur")===!1||a.isShown())return}}b("Stratcom").listen("touchstart",null,a);b("Stratcom").listen("click",null,c);b("Stratcom").listen("touchend",null,c);e.exports=d}),null); __d("MLayerDestroyOnTransition",["Stratcom"],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";function a(a){this.$1=null,this.$2=a}var c=a.prototype;c.enable=function(){this.$1=b("Stratcom").listen("m:page:unload",null,this.$2.destroy.bind(this.$2))};c.disable=function(){this.$1.remove(),this.$1=null};return a}();e.exports=a}),null); __d("MLayerHideOnBlur",[],(function(a,b,c,d,e,f){__p&&__p();a=function(){"use strict";__p&&__p();function a(a){this.$3=null,this.$2=null,this.$1=a}var b=a.prototype;b.enable=function(){this.$3=[this.$1.addListener("show",this.$4.bind(this)),this.$1.addListener("hide",this.$5.bind(this))],this.$1.isShown()&&this.$4()};b.disable=function(){this.$5();while(this.$3.length)this.$3.pop().remove();this.$3=null};b.$5=function(){this.$2&&this.$2.remove(),this.$2=null};b.$4=function(){this.$2=this.$1.addListener("blur",function(){this.$1.hide()}.bind(this))};return a}();e.exports=a}),null); __d("MAsyncThrobber",["DOM","MLoadingIndicator","Stratcom","destroyOnUnload"],(function(a,b,c,d,e,f){__p&&__p();var g="async-throbber";a=function(){"use strict";__p&&__p();function a(a){this.$1=b("MLoadingIndicator").init(a);if(!this.$1)return;this.$2=[b("Stratcom").listen("m:ajax:saving:start",null,this.$3.bind(this)),b("Stratcom").listen("m:ajax:saving:complete",null,this.$4.bind(this))];b("destroyOnUnload")(this.$5.bind(this))}var c=a.prototype;c.$3=function(a){a=a&&a.getData();a&&b("DOM").scry(a,"*",g)&&this.$1.willStartAnimation()};c.$4=function(a){a=a&&a.getData();a&&b("DOM").scry(a,"*",g)&&this.$1.willPauseAnimation()};c.$5=function(){while(this.$2&&this.$2.length)this.$2.pop().remove();this.$1=null};return a}();e.exports=a}),null); __d("MTimestamp",["fbt","DOM","MLegacyDataStore","Stratcom","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f,g){__p&&__p();var h=2e4,i=60,j=3600,k;function l(){var a=Math.floor(Date.now()/1e3),c=b("DOM").scry(document,"abbr","timestamp");for(var d=0,e=c.length;d12*j)return null;if(a<2*i&&c)return g._({"*":"{number} seconds ago"},[g._param("number",a,[0])]);if(a<2*i)return g._("Just now");if(a=d.top&&i.bottom<=d.bottom)return}a.setPosition(c.indexOf("below")>-1?"below":c[0])};c.$4=function(a){return[a.getPosition(),a.getOppositePosition()]};return a}();e.exports=a}),null); __d("MFlyoutContextSigil",["DOM","MLegacyDataStore","Stratcom","ex"],(function(a,b,c,d,e,f){__p&&__p();var g={};a=function(){"use strict";__p&&__p();function a(a){this.$1=null,this.$2=a}var c=a.prototype;c.enable=function(){var a=this.$3();g[a];g[a]=this.$2;this.$1=b("Stratcom").listen("click",this.$3(),this.$4.bind(this))};c.disable=function(){delete g[this.$3()],this.$1.remove(),this.$1=null,this.$2=null};c.$3=function(){var a=this.$2.config;return a.causalSigil||a.contextSigil};c.$4=function(a){__p&&__p();var c=a.getNode(this.$3()),d,e=this.$2.config.contextSigil,f=this.$2.config.causalSigil;if(f&&f!==e){f=c;while(f&&f!==document.body&&!d)if(b("Stratcom").hasSigil(f,e))d=f;else{var g=b("DOM").scry(f,"*",e);d=g[0];f=f.parentNode}}else d=c;if(this.$2.getContext()!==d&&this.$2.isShown()){this.$2.hide();if(!this.$2)return}this.$2.setCausalElement(c);this.$2.setContext(d);b("MLegacyDataStore").get(c).flyout=this.$2;this.$2.isShown()||this.$2.show();a.prevent()};return a}();e.exports=a}),null); __d("ActorURI",["ActorURIConfig","URI"],(function(a,b,c,d,e,f){var g;a={create:function(a,c){return new(g||(g=b("URI")))(a).addQueryData(b("ActorURIConfig").PARAMETER_ACTOR,c)},PARAMETER_ACTOR:b("ActorURIConfig").PARAMETER_ACTOR};e.exports=a}),null); __d("GeneratedLoggerUtils",["invariant","Banzai"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();a=b("Banzai").post;window.location.search.indexOf("showlog")>-1&&(a=function(a,c,d){b("Banzai").post(a,c,d)});c={log:a,serializeVector:function(a){__p&&__p();if(!a)return a;if(Array.isArray(a))return a;if(a.toArray){var b=a;return b.toArray()}if(typeof a==="object"&&a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"])return Array.from(a);g(0,3874,a)},serializeMap:function(a){__p&&__p();if(!a)return a;if(a.toJS){var b=a;return b.toJS()}if(typeof a==="object"&&a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]){b=a;var c={};for(var b=b,d=Array.isArray(b),e=0,b=d?b:b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=b.length)break;f=b[e++]}else{e=b.next();if(e.done)break;f=e.value}f=f;c[f[0]]=f[1]}return c}if(Object.prototype.toString.call(a)==="[object Object]")return a;g(0,3875,a)},checkExtraDataFieldNames:function(a,b){Object.keys(a).forEach(function(a){Object.prototype.hasOwnProperty.call(b,a)&&g(0,3876,a)})},warnForInvalidFieldNames:function(a,b,c,d){},throwIfNull:function(a,b){a||g(0,3877,b);return a}};e.exports=c}),null); __d("CookieConsentBlacklist",["CookieConsentBlacklistedHrefs","Parent"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a={isBlacklisted:function(a){__p&&__p();a=a;if(!this.hasCookieBanner())return!0;var c=b("Parent").byAttribute(a,"data-cookiebanner");if(c){c=c.getAttribute("data-cookiebanner");switch(c){case"close_button":return!1;case"banner":return!0}}c=b("Parent").byAttribute(a,"data-nocookies");if(c)return!0;a.tagName.toLowerCase()!=="a"&&(a=b("Parent").byTag(a,"a"));if(a instanceof HTMLAnchorElement&&typeof a.href==="string"){c=a.href;for(var a=0;a-1)return!0}return!1},blacklistedHrefs:b("CookieConsentBlacklistedHrefs").hrefs,hasCookieBanner:function(){var a=document.querySelectorAll('[data-cookiebanner="banner"]');return a.length>0}};e.exports=a}),null); __d("clamp",[],(function(a,b,c,d,e,f){function a(a,b,c){if(ac?c:a}e.exports=a}),null); __d("clearImmediatePolyfill",["ImmediateImplementation"],(function(a,b,c,d,e,f){e.exports=a.clearImmediate||b("ImmediateImplementation").clearImmediate}),null); __d("getActiveElement",[],(function(a,b,c,d,e,f){function a(a){a===void 0&&(a=document);if(typeof a==="undefined")return null;try{return a.activeElement||a.body}catch(b){return a.body}}e.exports=a}),null); __d("idx",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();function a(a,d){try{return d(a)}catch(a){if(a instanceof TypeError)if(b(a))return null;else if(c(a))return void 0;throw a}}var g;function b(a){a=a.message;g||(g=i("null"));return g.test(a)}var h;function c(a){a=a.message;h||(h=i("undefined"));return h.test(a)}function i(a){return new RegExp("^"+a+" | "+a+"$|^[^\\(]* "+a+" ")}e.exports=a}),null); __d("Locale",["ExecutionEnvironment","SiteData"],(function(a,b,c,d,e,f){function a(){if(!b("ExecutionEnvironment").canUseDOM)return!1;else return b("SiteData").is_rtl}e.exports={isRTL:a}}),null); __d("scheduler",["SchedulerFb-Internals_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";e.exports=b("SchedulerFb-Internals_DO_NOT_USE")}),null); __d("clearImmediate",["TimerStorage","TimeSlice","clearImmediatePolyfill"],(function(a,b,c,d,e,f){var g=b("TimerStorage").IMMEDIATE;function a(a){if(a!=null){b("TimerStorage").unset(b("TimerStorage").IMMEDIATE,a);var c=g+String(a);b("TimeSlice").cancelWithToken(c)}b("clearImmediatePolyfill")(a)}e.exports=a}),null); __d("setImmediate",["TimerStorage","TimeSlice","setImmediateAcrossTransitions"],(function(a,b,c,d,e,f){__p&&__p();function a(a){__p&&__p();var c,d=function(){b("TimerStorage").unset(b("TimerStorage").IMMEDIATE,c);for(var d=arguments.length,e=new Array(d),f=0;f1?e-1:0),g=1;g0&&c<=2||g(0,1179,c);c===1&&(b=a,a=0);b=b;b>a||g(0,1180,b,a);var d=this.random||Math.random;return Math.floor(a+d()*(b-a))}e.exports=a}),null); __d("DataAttributeUtils",["DataStore","Parent"],(function(a,b,c,d,e,f){__p&&__p();var g=[],h={LEGACY_CLICK_TRACKING_ATTRIBUTE:"data-ft",CLICK_TRACKING_DATASTORE_KEY:"data-ft",ENABLE_STORE_CLICK_TRACKING:"data-fte",IMPRESSION_TRACKING_CONFIG_ATTRIBUTE:"data-xt-vimp",IMPRESSION_TRACKING_CONFIG_DATASTORE_KEY:"data-xt-vimp",REMOVE_LEGACY_TRACKING:"data-ftr",getDataAttribute:function(a,b){return i[b]?i[b](a):a.getAttribute(b)},setDataAttribute:function(a,b,c){return j[b]?j[b](a,c):a.setAttribute(b,c)},getDataFt:function(a){if(a.getAttribute(h.ENABLE_STORE_CLICK_TRACKING)){var c=b("DataStore").get(a,h.CLICK_TRACKING_DATASTORE_KEY);c||(c=h.moveClickTrackingToDataStore(a,a.getAttribute(h.REMOVE_LEGACY_TRACKING)));return c}return a.getAttribute(h.LEGACY_CLICK_TRACKING_ATTRIBUTE)},setDataFt:function(a,c){if(a.getAttribute(h.ENABLE_STORE_CLICK_TRACKING)){b("DataStore").set(a,h.CLICK_TRACKING_DATASTORE_KEY,c);return}a.setAttribute(h.LEGACY_CLICK_TRACKING_ATTRIBUTE,c)},moveXTVimp:function(a){h.moveAttributeToDataStore(a,h.IMPRESSION_TRACKING_CONFIG_ATTRIBUTE,h.IMPRESSION_TRACKING_CONFIG_DATASTORE_KEY),g.push(a.id)},getXTrackableElements:function(){var a=g.map(function(a){return document.getElementById(a)}).filter(function(a){return!!a}),b=document.querySelectorAll("[data-xt-vimp]");for(var c=0;c=0;--d){var e=this.tryEntries[d],f=e.completion;if(e.tryLoc==="root")return c("end");if(e.tryLoc<=this.prev){var h=g.call(e,"catchLoc"),i=g.call(e,"finallyLoc");if(h&&i){if(this.prev=0;--c){var d=this.tryEntries[c];if(d.tryLoc<=this.prev&&g.call(d,"finallyLoc")&&this.prev=0;--b){var c=this.tryEntries[b];if(c.finallyLoc===a){this.complete(c.completion,c.afterLoc);y(c);return p}}},"catch":function(a){__p&&__p();for(var b=this.tryEntries.length-1;b>=0;--b){var c=this.tryEntries[b];if(c.tryLoc===a){var d=c.completion;if(d.type==="throw"){var e=d.arg;y(c)}return e}}throw new Error("illegal catch attempt")},delegateYield:function(a,b,c){this.delegate={iterator:A(a),resultName:b,nextLoc:c};return p}}}),null);